<?php
include ('db.php');
include ('input.php');
$id=$input->get('id');
$sql="DELETE FROM msg WHERE id='{$id}'";
$is=$mysql->query($sql);
if($is){
    header('location:4.php');
}else{
    echo '删除失败';
}

?>